//
//  Misc.h
//  XiaoTuiChe
//
//  Created by Sam on 12/3/15.
//  Copyright © 2015 Ding Sai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>

@interface Misc : NSObject

+ (CGFloat)degreesToRadians:(CGFloat)degrees;
+ (void)delay:(double)delay withAction:(void (^)(void))action;

@end


@interface NSString (Spring)

- (NSData *)htmlToAttributedString:(NSString *)text;

@end